package com.beiing.tianshuai.tianshuai.freshnews.model;

import com.beiing.tianshuai.tianshuai.dongtai.CallBack;

/**
 * Created by LZQ on 2017/7/28.
 */

public interface DiscoveryDetailModelImpl {

    /**
     * 获得发现详情
     *
     * @param f_id
     * @param callBack
     */
    void getDiscoveryDetail(String f_id, CallBack callBack);

    /**
     * 获取发现评论列表
     *
     * @param f_id
     * @param page
     * @param num
     * @param callBack
     */
    void getDiscoveryCommentList(String f_id, int page, int num, int type, CallBack callBack);

    /**
     * 评论发现
     *
     * @param u_id
     * @param f_id
     * @param review
     * @param callBack
     */
    void commentDiscovery(String u_id, String f_id, String review, CallBack callBack);

    /**
     * 获取用户是否点赞
     *
     * @param u_id
     * @param f_id
     * @param callBack
     */

    void getDiscoveryIsPraise(String u_id, String f_id, CallBack callBack);

    /**
     * 点赞发现
     *
     * @param u_id
     * @param f_id
     * @param callBack
     */
    void praiseDiscovery(String u_id, String f_id, CallBack callBack);

    /**
     * 点赞评论
     *
     * @param f_id
     * @param u_id
     * @param c_id
     * @param callBack
     */
    void praiseComment(String f_id, String u_id, String c_id, CallBack callBack);

    void isFollowed(String fromUid, String toUid, CallBack callBack);

    void setFollowed(String fromUid, String toUid, CallBack callBack);

    void deleteComment(String id, CallBack callBack);

    void addReply(String fid, String cid, String form_uid, String to_uid, String content, String comment, int type, String rid, CallBack callBack);

    void deleteReply(String fid, String id, String uid, CallBack callBack);

    void praiseReply(String fid, String cid, String rid, String uid, String to_uid, CallBack callBack);
}
